<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script src="../js/jquery-3.5.1.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			let name = "";
			$.get("http://192.168.1.138:8080/list?name"+name,function(result,b,c){
				console.log(result,b,c);
			});
			$.post("http://lacolhost:8080/add",{
				id:2,
				name:"aa",
				price:50.9,
				count:1,
				date:"2020-08-18"
			},function(result){
				console.log(result);
			});
			$.post("http://lacolhost:8080/edit",{
				id:2,
				name:"我的aa",
				price:50.9,
				count:1,
				date:"2020-08-18"
			},function(result){
				console.log(result);
			});
		</script>
	</body>
</html>
